.header .bg {
width: 100%;
height: 100%;
display: block;
}

.header .title {
position: absolute;
left: 50%;
top: 25%;
transform: translate(-50%, -50%);
color: #FFFFFF;
font-size: 56rpx;
font-weight: 600;
letter-spacing: 2rpx;
text-shadow: 0 4rpx 12rpx rgba(0,0,0,0.35);
z-index: 3;
}

.card {
background: #F7F7F7;
border-radius: 20rpx 20rpx 20rpx 20rpx;
padding: 16rpx 20rpx;
margin: 16rpx 24rpx;
display: flex;
align-items: center;
justify-content: space-evenly;
}

.card .title {
font-size: 32rpx;
font-weight: 700;
color: #000000;
}

.card .subtitle {
margin-top: 0;
font-size: 24rpx;
color: rgba(0,0,0,0.45);
}

.role-select-btn {
	width: 58rpx;
	height: 84rpx;
	border: none !important;
	background: #F7F7F7 !important;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	outline: none !important;
	box-shadow: none !important;
	}

.role-select-btn:after {
	border: none !important;
	background: transparent !important;
	content: none !important;
	}

.role-select-btn:active {
	border: none !important;
	background: #F7F7F7 !important;
	}

.role-select-btn:focus {
	border: none !important;
	background: #F7F7F7 !important;
	outline: none !important;
	}

.role-select-btn image {
	width: 58rpx !important;
	height: 84rpx !important;
	object-fit: contain !important;
	}
		


.nav-item.active .nav-text {
	color: #007AFF;
	}

.nav-icon {
	width: 64rpx;
	height: 64rpx;
	margin-bottom: 8rpx;
	}

.nav-text {
	font-size: 24rpx;
	color: #666666;
	}


.nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16rpx 0;
}

/* 选项按钮样式 */
.option-btn {
	padding: 10rpx 20rpx;
	margin: 6rpx;
	border-radius: 50rpx;
	background: #E5E5E5;
	color: #333333;
	font-size: 26rpx;
	text-align: center;
	border: none;
	display: inline-block;
	transition: all 0.3s ease;
}

.option-btn.active {
	background: #007AFF;
	color: #FFFFFF;
}

.option-btn:active {
	opacity: 0.8;
}

button.option-btn {
	border: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

button.option-btn:after {
	content: none;
}

.card {
	flex-wrap: wrap;
}

.card:nth-child(2) {
	padding: 16rpx;
}

.card:nth-child(2) .option-btn {
	flex: 0 0 calc(25% - 12rpx);
	max-width: calc(25% - 12rpx);
	margin: 6rpx;
	text-align: center;
	box-sizing: border-box;
	padding: 8rpx 12rpx;
	font-size: 24rpx;
}

.card:nth-child(3) .option-btn {
	min-width: 160rpx;
}

.card:nth-child(4) .option-btn {
	min-width: 160rpx;
}

.start-game-container {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 20rpx 0 40rpx;
}

.start-game-btn {
	width: 500rpx;
	height: 90rpx;
	background: #007AFF;
	color: #FFFFFF;
	font-size: 32rpx;
	font-weight: 600;
	border-radius: 45rpx;
	border: none;
	outline: none;
	box-shadow: 0 8rpx 20rpx rgba(0, 122, 255, 0.3);
	transition: all 0.3s ease;
}

.start-game-btn:active {
	background: #0056CC;
	box-shadow: 0 4rpx 10rpx rgba(0, 86, 204, 0.3);
	transform: scale(0.98);
}

button.start-game-btn {
	appearance: none;
	-webkit-appearance: none;
}

button.start-game-btn:after {
	content: none;
}

